import request from "../utils/request";

const getList =(data:any) => {
    return request({
        url: '/api/getList',
        method: "post",
        data:data
    })
}

const  getDetail = (data:any) => {
    return request({
        url: '/api/getDetail',
        method: 'post',
        data
    })
}

export {
    getList,
    getDetail
}